home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / viewkit / builderExamples / stopwatch / MainWindow0.c++ < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  781 b   |  33 lines

  1. //////////////////////////////////////////////////////////////
  2. //
  3. // Source file for MainWindow0
  4. //
  5. //    This file is generated by BuildXcessory. DO NOT MODIFY. 
  6. //    USE SUBCLASSING INSTEAD
  7. //
  8. //    This class is a ViewKit VkWindow subclass
  9. //
  10. //    If you directly modify this file, you may lose your 
  11. //    changes if it is  regenerated by the builder again.
  12. //
  13. //////////////////////////////////////////////////////////////
  14. #include "MainWindow0.h"
  15. #include "StopwatchDerived.h"
  16.  
  17. MainWindow0::MainWindow0(const char *name) : VkWindow (name) 
  18. {
  19.     StopwatchDerived* stopwatch= new StopwatchDerived("stopwatch",mainWindowWidget());
  20.  
  21.     addView (stopwatch);
  22. }
  23.  
  24. MainWindow0::~MainWindow0()
  25. {
  26.     // Empty
  27. }
  28.  
  29. const char *MainWindow0::className()
  30. {
  31.     return ("MainWindow0");
  32. }
  33.